package com.block.dispos;

import com.block.common.service.LogFactory;
import org.slf4j.Logger;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.stereotype.Component;

@Component
public class ShutDownBean implements DisposableBean {
private static final Logger log = LogFactory.getLog(ShutDownBean.class);
    @Override
    public void destroy() throws Exception {
        log.info("ShutDownBean 已销毁 ...");
    }
}